/*
 * @Description:
 * @version:
 * @Author: 尹鹏孝
 * @Date: 2025-03-17 20:51:36
 * @LastEditors: 尹鹏孝
 * @LastEditTime: 2025-03-17 22:14:44
 */
import { Module  } from '@nestjs/common';
import { PaymentController } from './payment.controller';
import { PaymentService } from './payment.service';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Payment } from '../entity/payment.entity';
import { Order } from '../entity/order.entity';
import { OrderItem } from '../entity/order-item.entity';
import { ProductSku } from '../entity/product-sku.entity';
import { Shipping } from '../entity/shipping.entity';
import { User } from 'src/entity/user.entity';
import { UserDetail } from 'src/entity/userDetail.entity';
import { PaymentRecord } from '../entity/payment-record.entity';
import { OrderNumberService } from '../order-number/order-number.service';
import { Repository } from 'typeorm/repository/Repository';
import { HttpModule } from '@nestjs/axios';
import { FormatService } from '../format/format.service';
@Module({
  imports:
    [Repository,
      HttpModule,
      TypeOrmModule.forFeature([User, UserDetail,Payment,PaymentModule,PaymentRecord, Order,
      OrderItem, ProductSku, Shipping]),
  ],

  controllers: [PaymentController],
  providers: [
    PaymentService,
    OrderNumberService,
    FormatService,
    // HttpService,


  ]
})
export class PaymentModule {}
